package secondStage.part2.抽象类.four;

/**
 * @ClassName: [AnimalOperator]
 * @Description: 操作方法类
 * @Author: [黄劲松]
 * @CreateDate: [2021-03-21]
 * @Version: [v1.0]
 */
public class AnimalOperator {
    public void useAnimal(Animal animal) {//Animal a = new Cat();
        animal.eat();
    }

    public Animal getAniamal() {
        Animal a = new Cat();
        return a;
    }
}
